package client.entity;

import java.util.Date;

//评论，讨论，互动
public class Comment {
    private Integer commentId;
    private Integer lastCommentId;
    private Integer goodId;
    private Integer userId;
    private String message;//评论内容
    private Date date;

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getLastCommentId() {
        return lastCommentId;
    }

    public void setLastCommentId(Integer lastCommentId) {
        this.lastCommentId = lastCommentId;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "commentId=" + commentId +
                ", goodId=" + goodId +
                ", userId=" + userId +
                ", message='" + message + '\'' +
                ", date=" + date +
                '}';
    }
}
